package com.cskaoyan.mall.service;

import com.cskaoyan.mall.bean.Topic;
import com.cskaoyan.mall.mapper.TopicMapper;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;

public interface TopicService {


    HashMap<String, Object> queryTopicList(Integer page, Integer limit, String sort, String order,String title,String subtitle);

    Topic insertTopic(Topic topic);

    Topic updateTopic(Topic topic);

    void deleteTopic(Integer id);

}
